package com.AUI.components
{
	import flash.events.MouseEvent;
	/**
	 * Vertical container.
	 * @author HuangMinPing
	 * @site www.AminLab.com
	 */
	public class V extends OnewayContainer
	{
		/**
		 * Constructor.
		 */
		public function V()
		{
			super(false);
			
			/**************** INITCOMPLETE ****************/
			Object(this).constructor == V && initComplete();
		}
		/**
		 * @private
		 */
		override protected function onMouseWheel(e:MouseEvent):void
		{
			var scrollbar:ScrollBar = e_scrollbars[1];
			if(scrollbar && scrollbar.parent)
			{
				scrollbar.scrollWheel(e.delta);
				e.stopPropagation();
			}
		}
	}
}